package com.jzqf.wheelview;

import android.content.Context;
import android.graphics.BitmapFactory;

import com.jzqf.wheel.WheelItem;

import java.util.ArrayList;
import java.util.List;

public class Data {

    public static List<WheelItem> getList(Context context) {
        List<WheelItem> list = new ArrayList<>();
        list.add(new WheelItem(BitmapFactory.decodeResource(context.getResources(), R.mipmap.icon_game), "游戏"));
        list.add(new WheelItem(BitmapFactory.decodeResource(context.getResources(), R.mipmap.icon_boy), "boy"));
        list.add(new WheelItem(BitmapFactory.decodeResource(context.getResources(), R.mipmap.icon_girl), "girl"));
        list.add(new WheelItem(BitmapFactory.decodeResource(context.getResources(), R.mipmap.icon_heart), "心"));
        list.add(new WheelItem(BitmapFactory.decodeResource(context.getResources(), R.mipmap.icon_movie), "电影"));
        list.add(new WheelItem(BitmapFactory.decodeResource(context.getResources(), R.mipmap.icon_game), "游戏"));
        list.add(new WheelItem(BitmapFactory.decodeResource(context.getResources(), R.mipmap.icon_boy), "boy"));
        list.add(new WheelItem(BitmapFactory.decodeResource(context.getResources(), R.mipmap.icon_girl), "girl"));
        list.add(new WheelItem(BitmapFactory.decodeResource(context.getResources(), R.mipmap.icon_heart), "心"));
        list.add(new WheelItem(BitmapFactory.decodeResource(context.getResources(), R.mipmap.icon_movie), "电影"));
        list.add(new WheelItem(BitmapFactory.decodeResource(context.getResources(), R.mipmap.icon_game), "游戏"));
        list.add(new WheelItem(BitmapFactory.decodeResource(context.getResources(), R.mipmap.icon_boy), "boy"));
        list.add(new WheelItem(BitmapFactory.decodeResource(context.getResources(), R.mipmap.icon_girl), "girl"));
        list.add(new WheelItem(BitmapFactory.decodeResource(context.getResources(), R.mipmap.icon_heart), "心"));
        list.add(new WheelItem(BitmapFactory.decodeResource(context.getResources(), R.mipmap.icon_movie), "电影"));
        return list;
    }
}
